package com.wx.javacode.modifier;

/**
 * ClassName:ThreadPoolExecutor
 * Package :com.wx.javacode.modifier
 * Description :
 *
 * @Author : coder_mu
 * @Create : 2023/5/1 - 12:11
 */
public class A {
    public int a = 100;
    protected int b = 200;
    int c = 300;
    private int d = 400;

    public void m1() {
        //在同一个类中可以访问public 、 protected 、 默认 、 private修饰的属性和方法
        System.out.println(a);
        System.out.println(b);
        System.out.println(c);
        System.out.println(d);
    }
}
